package com.lzw.service.impl.student;

import com.lzw.mapper.student.SFM;
import com.lzw.pojo.Feedback;
import com.lzw.service.student.SFS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SFSI implements SFS {

    @Autowired
    private SFM sfm;

    @Override
    public void add(Feedback feedback) {
        sfm.add(feedback);
    }

    @Override
    public List<Feedback> get(String student) {
        return sfm.get(student);
    }
}
